//
// Created by lfm on 2025/3/25.
//

#include "Graduate.h"

Graduate::Graduate(string name,int age,string sex,string major,
                   double score,string department):
                   Student(name, age, sex, major,score),
                   Teacher(name, age, sex, department)
{
    cout << "Graduate研究生的构造函数调用 " << endl;
}


Graduate::~Graduate()
{
    cout << "Graduate研究生的析构函数调用 " << endl;
}
void Graduate:: DisplayInfoGra()
{
    Student::DisplayInfoStudent();
    cout << "部门->" << m_Department << endl;
}


